import { $Http } from '@/config/service/http';

export enum Api {
  page = '/dmsfile/publicFileLog/page', // 分页查询
  lifeCyclePage = '/dmsfile/publicFileLog/lifeCyclePage', // 生命周期分页查询
  optRecord = '/dmsfile/publicFileLog/fileOptPage' // 操作记录列表查询
}

export const page = (params) => {
  return $Http.api(Api.page, params, 'post');
};

export const lifeCyclePage = (params) => {
  return $Http.api(Api.lifeCyclePage, params, 'post');
};

export const optRecord = (params) => {
  return $Http.api(Api.optRecord, params, 'post');
};
